package com.nebula.pojo;

import java.util.Date;

public class FriendsSession {
    private Integer id;

    private String username;

    private String friend;

    private String newTitle;

    private Date newSharingTime;

    private Integer visited1;

    private Integer visited2;

    public FriendsSession(Integer id, String username, String friend, String newTitle, Date newSharingTime, Integer visited1, Integer visited2) {
        this.id = id;
        this.username = username;
        this.friend = friend;
        this.newTitle = newTitle;
        this.newSharingTime = newSharingTime;
        this.visited1 = visited1;
        this.visited2 = visited2;
    }

    public FriendsSession() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getFriend() {
        return friend;
    }

    public void setFriend(String friend) {
        this.friend = friend == null ? null : friend.trim();
    }

    public String getNewTitle() {
        return newTitle;
    }

    public void setNewTitle(String newTitle) {
        this.newTitle = newTitle == null ? null : newTitle.trim();
    }

    public Date getNewSharingTime() {
        return newSharingTime;
    }

    public void setNewSharingTime(Date newSharingTime) {
        this.newSharingTime = newSharingTime;
    }

    public Integer getVisited1() {
        return visited1;
    }

    public void setVisited1(Integer visited1) {
        this.visited1 = visited1;
    }

    public Integer getVisited2() {
        return visited2;
    }

    public void setVisited2(Integer visited2) {
        this.visited2 = visited2;
    }
}